//
//  FFmpegTool.h
//  FFmpegTool
//
//  Created by woo on 2020/12/17.
//

#import <Foundation/Foundation.h>

@interface FFmpegTool : NSObject

+ (FFmpegTool *)sharedManager;

- (void)cmdToMp4:(NSString *)inFile outFile:(NSString *)outFile
    processBlock:(void (^)(float process))processBlock
 completionBlock:(void (^)(NSError *error))completionBlock;

// 设置总时长
+ (void)setDuration:(long long)time;

// 设置当前时间
+ (void)setCurrentTime:(long long)time;

// 转换停止
+ (void)stopRuning;

@end
